package xm.chengdu.com.beijing_211;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Log;
import android.widget.Toast;

import base.BaseApplication;
import utils.API;
import utils.FaSong;
import utils.JX_Utils;
import utils.SpfUtils;
import utils.WW;

public class CeActivity extends AppCompatActivity {
//    String str3 = " 588";
int str3 =   3 ;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_ce);

        String ss = "55AA011009090909090901010003030000010600"    ;
        String jiegguo = WW.makeChecksum(ss);
        String substring = jiegguo.substring(jiegguo.length() - 2, jiegguo.length());
        ss=ss+substring;
        Log.e("0806", "xx"+ss);

    }
    public void fasongweilan() {
//        String s1 = editftn.getText().toString();
//        if (TextUtils.isEmpty(s1)) {
//            return;
//        }
//        int str3 = Integer.parseInt(s1);
        String s = JX_Utils.intToHexString(999, 2);
        String oc = FaSong.oc(s);
        Log.e("888", "xx"+oc);

    }
}
